import React from 'react';
import './App.scss';
import { HashRouter } from 'react-router-dom';
import Toast from './components/Toast';
import Routers from './routers/before';

function App() {
  return (
    // 路由这里使用hash路由，避免虚拟服务器动态路由或者子路由刷新报错
    <HashRouter>
      <Routers />
      <Toast />
    </HashRouter>
  );
}

export default App;
